package cn.wolfcode.service;

import cn.wolfcode.domain.ConsumptionItem;

import java.util.List;

public interface IConsumptionItemService {

    void save(ConsumptionItem consumptionItem);

    void delete(Long id);

    void update(ConsumptionItem consumptionItem);

    ConsumptionItem get(Long id);

    List<ConsumptionItem> listAll();

    //查询指定结算单流水号对应的明细数据
    List<ConsumptionItem> queryByCno(String cno);
}
